//
//  RangeListData.m
//  PilotSeries
//
//  Created by 黄立强 on 16/4/7.
//  Copyright © 2016年 leon.huang. All rights reserved.
//

#import "RangeListData.h"
#import <MJExtension.h>
@implementation RangeListData
   MJExtensionCodingImplementation
- (id)mj_newValueFromOldValue:(id)oldValue property:(MJProperty *)property
{
    if ([property.name isEqualToString:@"endTime"]) {
        if (oldValue == nil) return @"";
    }else if([property.name isEqualToString:@"columnNames"]) {
        if (oldValue == nil) return @[];
    }else if([property.name isEqualToString:@"rowNames"]) {
        if (oldValue == nil) return @[];
    }
    
    return oldValue;
}
@end
